﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Study_Left.aspx.cs" Inherits="mystudy_Study_Left" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>无标题页</title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <script src="../script1/jquery-1.3.2.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        $(function() {
            $("#BtnNew").mouseover(function() {
                $("#operateShow").show("slow");
            });
            $("#BtnNew").mouseout(function() {
                $("#operateShow").hide("slow");
            });
        });
        function get_parentId()
        {
        parent.document.getElementById('sub_left').height = document.body.scrollHeight > 950 ?document.body.scrollHeight+10:950;
        }
    </script>    
    <style type="text/css">
        .font33
        {
            font-family: "微软雅黑";
            font-size: 14px;
            text-decoration: none;
        }
        .font33 a
        {
            color: #000000;
            text-decoration: none;
        }
        .font33 a:hover
        {
            color: #990033;
        }
    </style>
</head>
<body >
    <form id="form1" runat="server">
    <div>
        <table width="330px" class="font33">
            <tr>
                <td style="width: 330px; height: 95px">
                    <table style="width: 330px">
                        <tr>
                            <td style="width: 100%; height: 44px; text-align: left;">
                                <asp:Label ID="lblKecheng" runat="server" Text="Label" Font-Bold="True" Font-Size="Medium"
                                    Height="36px" Width="300px" Font-Underline="False"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 330px; text-align: left;" class="font33">
                                <asp:Label ID="lblJigou" runat="server" Text="Label" Width="195px"></asp:Label>
                                <asp:Label ID="lblLaoshi" runat="server" Text="Label"></asp:Label>
                            </td>
                        </tr>
                    </table>
                    <hr />
                </td>
            </tr>
            <tr>
                <td align="left" valign="top">
                    <asp:DataGrid ID="MyDataGrid" runat="server" AllowPaging="false" AutoGenerateColumns="False"
                        BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="0px"
                        CellPadding="4" GridLines="Horizontal" PagerStyle-HorizontalAlign="left" PagerStyle-Mode="NumericPages"
                        PageSize="10" ShowHeader="False" Width="100%" CssClass="font33">
                        <SelectedItemStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                        <AlternatingItemStyle BackColor="#ffffff" />
                        <ItemStyle BackColor="#EFEFEF" ForeColor="#4A3C8C" Wrap="False" />
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" HorizontalAlign="Center"
                            VerticalAlign="Middle" />
                        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                        <Columns>
                            <asp:TemplateColumn>
                                <HeaderStyle HorizontalAlign="Center" Width="100%" />
                                <ItemStyle Font-Size="14px" Height="20px" HorizontalAlign="Left" />
                                <HeaderTemplate>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="replyFlag" runat="server" Visible="False">
								<img src="s2.gif" alt="">
                                    </asp:Label>
                                    <asp:ImageButton ID="ImgOpen" runat="server" BorderWidth="0" Height="16" ImageUrl="Open.gif"
                                        OnCommand="ImageButton_Command" Width="16" />
                                    <asp:Label ID="impLa" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.f_imp") %>'
                                        Visible="False">
                                    </asp:Label>
                                    <asp:Label ID="topicLa" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.f_topic") %>'
                                        Visible="False">
                                    </asp:Label>
                                    <asp:Label ID="newsLa" runat="server" Font-Bold="True" Visible="False">
								<blink>
									<font color="#0000ff">NEWS</font></blink>
                                    </asp:Label>
                                    <asp:Label ID="eliteLa" runat="server" Font-Bold="True" Visible="False">
								<font color="#0000ff">
									<blink>精</blink></font>
                                    </asp:Label>
                                    <a class="zhongwen1" target='rbottom' href='../kecheng_mp/viewplay.aspx?id=<%# DataBinder.Eval(Container.DataItem,"title_id")%>'
                                    <%-- &forum_id=<%
							string forum_id = Session["stopic"].ToString();
							if (forum_id == null)
								forum_id="10001";
							Response.Write(forum_id);%>'>--%>
                                    <asp:Label ID="titleLa" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"f_title")%>'>
                                    </asp:Label>
                                    </a>
                                    <asp:Label ID="lblManager" runat="server"  Visible="false"><a target='rbottom' style="color: Blue;" href="../kecheng_mp/edit.aspx?title_id=<%# DataBinder.Eval(Container.DataItem,"title_id")%>">
                                        管理</a></asp:Label>
                                    <asp:Label ID="titleid" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "title_id") %>'
                                        Visible="False">
                                    </asp:Label>
                                    <asp:Label ID="Label2" runat="server" Text="">
                                    </asp:Label>
                                    <asp:Label ID="Label5" runat="server" Text="">
                                    </asp:Label>
                                    <asp:Label ID="LaReMan" runat="server" Visible="False"></asp:Label>
                                    <asp:DataList ID="dlcdList" runat="server" CellPadding="2" RepeatDirection="Vertical"
                                        RepeatLayout="Table" Width="100%">
                                        <ItemTemplate>
                                            <asp:Label ID="Child" runat="server"></asp:Label>
                                            <asp:Label ID="cId" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.title_id") %>'
                                                Visible="False">'></asp:Label>
                                            <asp:Label ID="cTitle" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.f_title") %>'
                                                Visible="False">
                                            </asp:Label>
                                            <asp:Label ID="cLayer" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.f_layer") %>'
                                                Visible="False">
                                            </asp:Label>
                                            <asp:Label ID="cRead" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.f_read") %>'
                                                Visible="False">
                                            </asp:Label>
                                            <asp:Label ID="cReply" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.f_reply") %>'
                                                Visible="False">
                                            </asp:Label>
                                            <asp:Label ID="cDate" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.f_date1") %>'
                                                Visible="False">
                                            </asp:Label>
                                            <asp:Label ID="cUsers" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.f_writer") %>'
                                                Visible="False">
                                            </asp:Label>
                                        </ItemTemplate>
                                    </asp:DataList>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                        </Columns>
                        <PagerStyle BackColor="#ffffff" ForeColor="#4A3C8C" HorizontalAlign="Right" Mode="NumericPages" />
                    </asp:DataGrid>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;<asp:HyperLink ID="BtnNew" runat="server" BackColor="LightGray" BorderStyle="Outset"
                        Font-Size="Small" Font-Strikeout="False" Font-Underline="False" Height="20px"
                        NavigateUrl="~/kecheng_mp/modify.aspx" Target="rbottom" Width="70px">新建一节课</asp:HyperLink>&nbsp;
                                                <div style="color:Blue;width:200px;height:80px;display:none;float:right;" id="operateShow">
                    <strong>操作提示:</strong><br />
                                        点击<span style="color:Red">[管理]</span>，然后点击<span style="color:Red">[上传视频]</span>来上传视频</div></td>

                </td>
            </tr>
            <tr>
                <td>
                    <table>
                        <tr>
                            <td style="width: 95px">
                                <asp:DropDownList ID="DplConfirm" runat="server" AutoPostBack="True" Enabled="False"
                                    Visible="False" Width="79px">
                                    <asp:ListItem>通过</asp:ListItem>
                                    <asp:ListItem>不通过</asp:ListItem>
                                </asp:DropDownList>
                                <asp:DropDownList ID="DplPingfen" runat="server" AutoPostBack="True" Enabled="False"
                                    Visible="False" Width="96px">
                                    <asp:ListItem Value="10">拜他为师</asp:ListItem>
                                    <asp:ListItem Value="8">很有收获</asp:ListItem>
                                    <asp:ListItem Selected="True" Value="6">值得学</asp:ListItem>
                                    <asp:ListItem Value="3">一般般</asp:ListItem>
                                    <asp:ListItem Value="1">没学到啥</asp:ListItem>
                                    <asp:ListItem Value="0">不想学了</asp:ListItem>
                                </asp:DropDownList>
                                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="关闭窗口" />
                            </td>
                            <td style="width: 83px">
                                <asp:Button ID="BtnDefin" runat="server" Enabled="False" OnClick="BtnDefin_Click"
                                    Text="评分" Visible="False" Width="56px" />
                            </td>
                            <td style="width: 82px">
                                <asp:Button ID="BtnBaoming" runat="server" Enabled="False" Text="报名" Visible="False"
                                    Width="59px" OnClick="BtnBaoming_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="width: 100px;color:Red;">
                    &nbsp;<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:gConnectionString %>"
                        SelectCommand="SELECT [f_title] FROM [kecheng_mp] WHERE ([f_topic] = @f_topic)">
                        <SelectParameters>
                            <asp:SessionParameter Name="f_topic" SessionField="stopic" Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                    <strong>操作提示:</strong><br />
                                        点击[管理]，然后点击[上传视频]来上传视频</td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
